package com.passive.lock.mapper;

import com.passive.lock.model.po.TKey;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository("TKeyMapperCustom")
public interface TKeyMapperCustom {

	List<TKey> keyList(@Param("groupid") String groupid, @Param("deptId") String deptId,
			@Param("keyName") String keyName, @Param("userName") String userName, @Param("keyNote") String keyNote,
			@Param("keyState") String keyState, @Param("offset") Integer offset, @Param("limit") Integer limit);

	int keyListCount(@Param("groupid") String groupid, @Param("deptId") String deptId, @Param("keyName") String keyName,
			@Param("userName") String userName, @Param("keyNote") String keyNote, @Param("keyState") String keyState);

}
